import akshare as ak
import numpy as np
import pandas as pd
np.set_printoptions(threshold=np.inf)

# stock_em_yjyg_df = ak.stock_em_yjyg(date="2020-03-31")
# print(stock_em_yjyg_df)
#加了这一行那表格的一行就不会分段出现了
pd.set_option('display.width', 1000)
#显示所有列
pd.set_option('display.max_columns', None)
#显示所有行
pd.set_option('display.max_rows', None)
#指数实时
stock_df = ak.stock_zh_index_spot()
print(stock_df)

# stock_financial_analysis_indicator_df = ak.stock_financial_analysis_indicator(stock="600004")
# print(stock_financial_analysis_indicator_df)